package com.design.adapter;

/**
 * 内部商品首次下单判断
 * @author ytj
 * @date 2024/11/27 16:18
 */
public class OrderAdapterServiceImpl implements OrderAdapterService{
    private OrderService orderService=new OrderService();
    @Override
    public Boolean isFirst(String uid) {
        return orderService.queryOrderCount(uid)<=1;
    }
}
